#include "CResource.h"
#include "SGD Wrappers/CSGD_Direct3D.h"
#include "SGD Wrappers/CSGD_TextureManager.h"
#include "CObjectManager.h"
#include "SGD Wrappers/CSGD_DirectInput.h"
#include "CGamePlayState.h"
#include "CObjGenerator.h"
#include "CGame.h"
#include "SGD Wrappers/SGD_Math.h"

CResource::CResource()
{
	m_nType = RESOURCE;
	m_nResourceType = BUILDINGS;
}
CResource::~CResource()
{

}
void CResource::Init()
{

}
void CResource::Update(float fDelta)
{
	float posX = GetPosX();
	float posY = GetPosY();
}
void CResource::Render()
{
	RECT temp;
	temp.top = (LONG)GetPosY();
	temp.bottom = (LONG)(GetPosY() + 10);
	temp.left = (LONG)GetPosX();
	temp.right = (LONG)(GetPosX() + 10);
	CSGD_Direct3D::GetInstance()->SpriteEnd();
	CSGD_Direct3D::GetInstance()->DrawRect(temp,255,0,255);
	CSGD_Direct3D::GetInstance()->SpriteBegin();
}
